▍ humdrum codex / glint v1.0.2
license AGPL-3.0
1.9 KB raw
id
TASK-015
title
Set glint as the editor for prose-based tool invocations (git/jj)
status
🟦 Backlog
assignee
created_date
2026-06-29 16:36
labels
feature, release-2
dependencies
priority
medium
ordinal
15000

Description

Adoption feature. $EDITOR is one slot for everything, so a coder must keep neovim there for code β€” but the prose-oriented editor calls (git commit/rebase/merge/tag messages, jj describe) can point at glint per-tool while $EDITOR stays the code editor. There is no OS-level text-vs-code split; it must be wired per tool.

Provide a convenience in the config walkthrough (glint -c) or a small command that idempotently sets:

One-shot editor mode already works: a tool calls 'glint ', the user edits, Ctrl+S saves, Ctrl+Q exits, the tool reads the saved file. Verify glint behaves cleanly when invoked on a non-.md tmpfile (e.g. COMMIT_EDITMSG) β€” it should still open/edit/save fine. Consider a save-on-quit prompt so an unsaved commit message isn't silently empty (the dirty-quit confirm largely covers this). Positioning: glint is the terminal WRITING app, owning prose edits, not the universal default editor.

Acceptance Criteria